@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
// @import './sidebar.scss';
@import './left-menu.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Arial,Helvetica,  sans-serif,Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  // box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;

  // 重写element-ui的tabs
  .el-tabs[noboxshadow]{
    .el-tabs__header{
      padding-bottom: 0px;
      box-shadow: none;
    }
  }
  .el-tabs__header{
    padding-bottom: 10px;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
  }
  .el-tabs__header,.el-tabs__nav{
      border: 0px !important;
  }
  .el-tabs__item{
    height: 30px;
    color: #606266;
    line-height: 28px;
    border-radius: 8px;
    border: 1px solid #dcdfe6 !important;
    margin: 0px 5px;
    padding: 0px 14px!important;
    transition: 0.1s linear!important;
  }
  .el-tabs__item:first-child{
    margin-left: 0px;
    border: 1px solid transparent !important;
    margin: 0px;
    padding: 0px 5px 0px 0px !important;
    font-size: 16px;
    font-weight: 600;
  }
  .el-tabs__item.is-active{
    color: #ffffff;
    background-color: #44b1f4;
    border: 1px solid #44b1f4 !important;
  }
  .el-tabs__nav-prev,.el-tabs__nav-next{
    height: 30px;
    line-height: 30px;
  }
  // tabs标题
  .tabs-title{
    display: inline-block;
    margin: 15px 0px 10px;
    color: #606266;
    font-weight: 600;
  }
  // 重写element-ui的分页
  .el-pagination{
    text-align: right;
    margin: 30px 0px 50px;
  }
}
